package com.txzhang.springcloud.goodserver;

import com.txzhang.springcloud.goodserver.config.DataSourceProxyAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@EnableEurekaClient
@MapperScan(value = {"com.txzhang.springcloud.goodserver.mapper"})
@Import(DataSourceProxyAutoConfiguration.class)
public class GoodServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(GoodServerApplication.class, args);
    }

}
